{%  extends "./public/base.html"  %}


{% block 'css' %}
    <link rel="stylesheet" type="text/css" href="/static/home/public/css/cart.css">
    <link rel="stylesheet" type="text/css" href="/static/home/public/css/cart-app.css">

{% endblock %}

{% block 'header-header' %}
<div class="navbar-left">
    <ol class="breadcrumb">
        <li>购物车</li>
        <li>确认订单</li>
        <li style="color:red">在线支付</li>
        <li>完成 </li>
    </ol>
</div>
{% endblock %}

{% block 'con' %}
<hr>
<hr>
<hr>
<div class="mainbody cart">
    <div class="row">
        <center>
            
        <div class="col-md-10">
            <table style="width: 900px">
                <tr>
                    <th>订单号:</th>
                    <th>购买用户:</th>
                    <th>购买时间:</th>
                    <th>购买总价:</th>
                    <th>购买总数:</th>
                    <th><b>请付款:</b></th>
                </tr>
                <tr class="danger">
                    <td>{{ order.id }}</td>
                    <td>{{ order.uid.name }}</td>
                    <td>{{ order.addtime }}</td>
                    <td>{{ order.totalprice }}</td>
                    <td>{{ order.totalnum }}</td>
                    <td><b>{{ order.totalprice }}</b></td>

                </tr>
            </table>
             
                <ul style="float: right;">
                <a href="{% url 'myorder' %}" data-mtype="store_de_cart" class="btn btn-primary btn-lg " style="display:inline-block;"><i></i>个人订单</a>
                <a href="{% url 'pay' order.id %}" ddata-mtype="store_de_buy" href="javascript:void(0);" id="J_btnBuy" class="btn btn-danger btn-lg mr20">付款</a>
                </ul>
        </div>
        </center>
    </div>
      
</div>


{% endblock %}
